home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / e / misc.save / 000038_jaltman2@nyc.rr.com_Fri Dec 22 10:34:13 2006.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Path: reader2.panix.com!reader1.panix.com!panix!newsfeed-00.mathworks.com!kanaga.switch.ch!switch.ch!keepthis.news.telefonica.de!telefonica.de!ndsoftware.com!nx02.iad01.newshosting.com!newshosting.com!post01.iad01!roadrunner.com!not-for-mail
  2. Date: Wed, 20 Dec 2006 16:51:31 -0500
  3. From: Jeffrey Altman <jaltman2@nyc.rr.com>
  4. Organization: Send private replies to jaltman at mit dot edu
  5. User-Agent: Thunderbird 1.5.0.9 (Windows/20061207)
  6. MIME-Version: 1.0
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: Macro: Terminal -> Command -> Terminal -> Command?
  9. References: <xwOhh.34809$cz.516497@ursa-nb00s0.nbnet.nb.ca> <lWShh.32651$tb6.31529@news-wrt-01.rdc-nyc.rr.com> <bF8ih.35271$cz.521966@ursa-nb00s0.nbnet.nb.ca>
  10. In-Reply-To: <bF8ih.35271$cz.521966@ursa-nb00s0.nbnet.nb.ca>
  11. Content-Type: text/plain; charset=ISO-8859-1
  12. Content-Transfer-Encoding: 7bit
  13. Lines: 25
  14. Message-ID: <4589b00f$0$16922$4c368faf@roadrunner.com>
  15. X-Complaints-To: abuse@rr.com
  16. Xref: panix comp.protocols.kermit.misc:15608
  17.  
  18. Scott Caissie wrote:
  19. > I see. I've been testing this out all day, and it works pretty much the way 
  20. > I was aiming for.  I was never referred to using the INPUT command before, 
  21. > and to be honest, I don't understand it 100% yet. I'm basically mirroring my 
  22. > actions.
  23. > I do have a question. Is there restrictions about using INPUT 0 <text>?
  24. > This example works fine, but if I use INPUT 0 etc, it won't. I check to see 
  25. > if it works by using \Fscrnstr(y,x,n) on a large scale.
  26. > SET INPUT TERMINAL ON
  27. > set input echo off
  28. > clear input-buffer
  29. > define vega {
  30. > ..LZ_PRO := \Fscrnstr(0,6,8)
  31. > OUTPUT \5\5\5\5\5\5\5\5\57\49\13\49\52\13\m(LZ_PRO)\24
  32. > INPUT 1 \5\5\5\5\5\5\5\5\57\49\13\49\52\13\m(LZ_PRO)\24
  33. > for \%t 1 24 1 {
  34. > echo \Fscrnstr(\%t,0,79)
  35. > }
  36. > }
  37.  
  38. If you use "INPUT 0 <text>" you are not reading any data from the
  39. connection.  You must use a timeout greater than 0 in order to process data.
  40.  
  41. Jeffrey Altman